#include <QString>

#include "Settings.h"

Settings::Settings(QObject *parent)
    : QObject(parent),
      Singleton<Settings>(*this),
      _dataBasePath(QString::null)
{

}

QString Settings::getDataBasePath() const
{
    return _dataBasePath;
}

void Settings::setDataBasePath(const QString &path)
{
    Q_ASSERT_X(path.isEmpty(), "Settings::setDataBasePath", "Path must be an initialized string");

    _dataBasePath = path;
}
